using Admin.NET.Core;
using SqlSugar;

namespace Admin.NET.Application.Entity.Business;

[SugarTable("AggrementPluginManage", "协议插件管理")]
[SysTable]
public class AggrementPluginManage : EntityBase
{
	/// <summary>
	/// 插件名称
	/// </summary>
	public string Name { get; set; }

	public string AssemblyName { get; set; }

	/// <summary>
	/// 插件地址，相对路径，wwwroot下面
	/// </summary>
	public string Path { get; set; }

	[SugarColumn(ColumnDataType = "text")]
	public string? Remark { get; set; }

	/// <summary>
	/// 自定义参数
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? EParams { get; set; }

	/// <summary>
	/// 状态，1启动，0停止
	/// </summary>
	[SugarColumn(DefaultValue = "0")]
	public int Status { get; set; }
}
